home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / IDLIncludes / CoachMarks.idl < prev    next >
Text File  |  1996-05-01  |  3KB  |  101 lines

  1. /*
  2.      File:        CoachMarks.idl
  3.  
  4.      Contains:    Public CoachMark programming interface.
  5.  
  6.      Version:    Technology:    Copland
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. */
  18. #ifndef __COACHMARKS_IDL__
  19. #define __COACHMARKS_IDL__
  20.  
  21. #include <somobj.idl>
  22. #include <somcls.idl>
  23.  
  24. #ifndef __TYPES_IDL__
  25. #include <Types.idl>
  26. #endif
  27. #ifndef __SOUND_IDL__
  28. #include <Sound.idl>
  29. #endif
  30. #ifndef __WINDOWS_IDL__
  31. #include <Windows.idl>
  32. #endif
  33. #ifndef __HIWINDOWTYPES_IDL__
  34. #include <HIWindowTypes.idl>
  35. #endif
  36.  
  37. #ifdef __SOMIDL__
  38.  
  39. #if FOR_SYSTEM8_COOPERATIVE
  40. /*
  41.  Macros ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  42.  For X's, 2-bit groups specify the curvature of each leg
  43. */
  44. /*
  45.  Attributes ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  46.  animation speeds
  47. */
  48. /* sloppiness*/
  49. /* translucency*/
  50. /* stroke width*/
  51. /* Selectors ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
  52. typedef UInt32                    CoachMarkType;
  53.  
  54. typedef UInt32                    CoachMarkCurvature;
  55.  
  56. /*
  57.  Flags ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  58.  theme element inheritance flags -- is "heritage" and "inherit" too wordy?  Could use a scheme based on the word "trait"
  59. */
  60. typedef UInt32                    CoachThemeOverrideFlags;
  61.  
  62. typedef UInt32                    CoachAnimationType;
  63.  
  64. /*
  65.  In which direction should the animation go? For an arrow or underline
  66.  this is inherent in the geometry. For the others, some bit flags:
  67. */
  68. typedef UInt32                    CoachDirection;
  69.  
  70. /* to specify how to erase a coach mark*/
  71. typedef UInt32                    CoachMarkEraseOptions;
  72.  
  73. /*
  74.  Structures ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  75.  opaque reference to a coach mark
  76. */
  77. typedef OpaquePtr                CoachMarkRef;
  78.  
  79. /* CoachMarkRec specifies the appearance of a CoachMark*/
  80. typedef SOMLargeStruct            CoachMarkRec;                /* Derived from a struct of 30 bytes in size */
  81.  
  82. /* CoachMarkAnimation specifies the appearance of a coach mark's animation*/
  83. typedef SOMLargeStruct            CoachMarkAnimation;            /* Derived from a struct of 12 bytes in size */
  84.  
  85. /*
  86.  The Freaky Good Stuff --------------------------------------------------------------------------------------------------------------------------------------------------------------
  87.  Creation/destruction
  88. */
  89. /* To specify geometry*/
  90. /* Accessors*/
  91. /*
  92.  Drawing, animation, erasing
  93.  CoachMarkInteraction is synchronous and applies globallly, the other three are not and require windows
  94. */
  95. #endif
  96.  
  97. #endif /* __SOMIDL__ */
  98.  
  99. #endif /* __COACHMARKS_IDL__ */
  100.  
  101.